package org.yaac.client;

/**
 * exactly the same as AsyncCallback
 * 
 * the only reason we have our own implementation is 
 * GWT has some special handling on AsyncCallback 
 * 
 * @author Max Zhu (thebbsky@gmail.com)
 *
 * @param <T>
 */
public interface YaacCallback<T> {

	void onSuccess(T result);

	void onFailure(Throwable caught);

}
